package com.feilx.changgou.search.client;


import com.changgou.pojo.SkuInfo;
import com.changgou.pojo.TbSkuEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

@FeignClient(value = "changgou-service-goods")
public interface SkuClient {
    @GetMapping(value = "/sku/getAll" )
    List<SkuInfo> getAll(@RequestParam Map map);
}
